package com.carey.myblog.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author : carey
 * @create : 2022-05-26 - 18:03
 * @describe: 自定义的查询条件实体类
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class BlogQuery {

    private String title;
    private Long typeId;
    private boolean recommend;
    private boolean published;
    private boolean draft; //判断博客是否是草稿状态，后台进行查询草稿功能

}
